import Supplier from "../../pages/supplier/supplier";
import Container from "../../pages/supplier/contauner";
import Addsupplier from "../../pages/supplier/Addsupplier";
import Detail from "../../pages/supplier/detail";
import Type from "../../pages/supplier/type";

const supplier = {
  path: "",
  element: <Container />,
  children: [
    {
      name:'供应商管理',
      path: "supplier",
      element: <Supplier></Supplier>
    },
    {
      name:'经营种类',
      path: "supplier/type",
      element: <Type></Type>
    },
    {
      name:'新增',
      path: "supplier/Addsupplier",
      element: <Addsupplier></Addsupplier>
    },
    {
      name:'供应商详情',
      path:"supplier/detail/:id?",
      element:<Detail></Detail>
    }
  ]
};

export default supplier;